<?php
//본 파일은 코딩이 너무 복잡해져서 예제용 이미지 링크를 따로 빼낸 것으로써 추후에 이 파일 대신 배열로 처리된 진짜 썸네일 링크로 대체하면 된다.
?>

<!-- Sample gallery mini - Recurrence patterns (Preset) -->
<div class="photo_frame image thumb_en2_1" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b1.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_2" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b2.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_3" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b3.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_4" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b4.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_5" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b5.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_6" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b6.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_7" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b7.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_8" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b8.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_1" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b1.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_2" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b2.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_3" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b3.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_4" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b4.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_5" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b5.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_6" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b6.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_7" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b7.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_8" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b8.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_1" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b1.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_2" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b2.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_3" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b3.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_4" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b4.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_5" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b5.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_6" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b6.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_7" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b7.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>
<div class="photo_frame image thumb_en2_8" style="background-image:url(../assets/book/editor/item_bg_envelops/envelop_b8.png)"><img data-lazy="../assets/book/editor/images/blank.gif" /></div>

<!-- Thumbnail button event -->
<script type="text/javascript">
    $(document).ready(function() {
        $('.thumb_en2_1').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b1.png)'});
        });
        $('.thumb_en2_2').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b2.png)'});
        });
        $('.thumb_en2_3').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b3.png)'});
        });
        $('.thumb_en2_4').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b4.png)'});
        });
        $('.thumb_en2_5').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b5.png)'});
        });
        $('.thumb_en2_6').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b6.png)'});
        });
        $('.thumb_en2_7').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b7.png)'});
        });
        $('.thumb_en2_8').click(function() {
            $('.env_inner, .btn_item5').css({'background-image': 'url(../assets/book/editor/item_bg_envelops/envelop_b8.png)'});
        });
    });
</script>

<?php ?>